<template>
  <div>
    <el-tabs v-model="activeTab" >
      <!--      默认选中-->
      <el-tab-pane label="日/月流水" index="/about" name="/about">
        <FlowData></FlowData>
      </el-tab-pane>
      <!--      默认选中-->
      <el-tab-pane label="单均流水情况" index="/about2" name="/about2">
        <AveragePerOrder></AveragePerOrder>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import FlowData from "@/components/cockpit/FlowData/FlowData.vue";
import AveragePerOrder from "@/components/cockpit/FlowData/AveragePerOrder.vue";
export default {
  name: 'App',
  components: {FlowData,AveragePerOrder},
  data() {
    return {
      activeTab: "/about",
    }
  }
}
</script>

<style>
.el-tabs__item.is-active{
  font-size: 25px;
}
</style>
